import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { i18n, vantLocales } from './i18n'
import { Lazyload } from 'vant';
import 'amfe-flexible'
import './permission'
import 'vant/es/toast/style';
import 'vant/es/dialog/style';

vantLocales(i18n.global.locale.value)
const app = createApp(App)
app.use(Lazyload, {
    lazyComponent: true,
});
app.use(store).use(router).use(i18n).mount('#app')



